import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DB {
	public static void main(String[] args) throws SQLException, ClassNotFoundException {
		Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
		String dburl = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};"
				+ "DBQ=C:/Users/wangbin/Documents/Database1.accdb";
		Connection conn = DriverManager.getConnection(dburl, "", "");
		conn.createStatement();
	}
}
